package com.zy.yun.provider.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zy.yun.base.entity.Res;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 资源表 Mapper 接口
 * </p>
 *
 * @author 王彦委
 * @since 2019-09-19
 */
public interface ResMapper extends BaseMapper<Res> {

    /**
      * @Author: 王彦委
      * @Description: 根据用户角色id,查询对应的资源
      * @Date: 22:17 2019/11/5
      */
    List<Res> selectResByRoleId(@Param("roleId") Long roleId);
}
